import { fabric } from 'fabric'

export interface FabricEditorOptions {
  maxGraphNum: number
}
export class FabricEditor {
  context: fabric.Canvas
  options: FabricEditorOptions
  constructor(element: string | HTMLCanvasElement | null, options?: fabric.ICanvasOptions | undefined) {
    this.context = new fabric.Canvas(element, options)
  }
}
